﻿<%@ Control Language="C#" AutoEventWireup="true" EnableViewState="false" CodeBehind="PopularizeCompany.ascx.cs"
    Inherits="ZF.WS.UserControls.Index.PopularizeCompany" %>
<%--<div class="ct1 content">--%>
<style>
        .popularize dd ul{ height:140px;*height:130px;}
        .popularize dd ul li { margin-top: 10px; }
        
    </style>
<div class="board tjlp mt10_ popularize" style="width: 716px">
    <dl>
        <dt><a href="/shop/list.aspx">推荐商品</a> <span class="dn_">
            <zf:ListView runat="server" ID="lvTitle">
                <LayoutTemplate>
                    <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                    </zf:PlaceHolder>
                </LayoutTemplate>
                <ItemTemplate>
                    <a href="javascript:" class="<%# Container.DataItemIndex==0?"active":"dn_" %> slide"
                        bind="popularize<%# Container.DataItemIndex %>">
                        <%#Eval("Text") %></a>
                </ItemTemplate>
            </zf:ListView>
        </span><a href="/shop/list.aspx" class="more">更多>></a></dt>
        <dd class="popularizegdimg">
            <zf:ListView ID="lvList" runat="server">
                <LayoutTemplate>
                    <ul>
                        <zf:PlaceHolder ID="itemPlaceHolder" runat="server">
                        </zf:PlaceHolder>
                    </ul>
                </LayoutTemplate>
                <ItemTemplate>
                    <li><a href="/shop/info.aspx?id=<%#Eval("Merc.MerchandiseId") %>">
                        <img src="/photo/shop/<%#Eval("Photo")!=null?Eval("Photo"):"noimage.gif" %>" class="photo autoSizeImg"
                            style="vertical-align: middle;" alt="" /><a href="/shop/info.aspx?id=<%#Eval("Merc.MerchandiseId") %>">
                                <%#((string)Eval("Merc.Name")).MaxLength(10)%></a></li>
                </ItemTemplate>
            </zf:ListView>
        </dd>
    </dl>
</div>
<div class="fc_">
</div>
<%--</div>--%>
<script>
    $(".popularizegdimg").jCarouselLite({
        auto: 800,
        speed: 1000,
        scroll: 1,
        visible: 6

    });

</script>
